class Singleton(object):
    def foo(self):
        print('Singleton')


class Singleton2(object):
    def __init__(self, val):
        self.val = val

    def get_value(self):
        return self.val


singleton_instance = Singleton()
singleton_instance2 = Singleton2('test')
